[Top] [Prev] [Next] [Bottom]
[Contents]
SaJavaStdFor
Prints a Java Script statement which produces a for loop and a newline character to standard out.
#include "sajavasc.h"
int SaJavaStdFor(char* msg);
Argument
- msg
- A string specifying character or variable to set the upper index of the for loop.
Return Values
Returns an integer with a value of 0 if successful and a value of 1 if msg is either NULL or an empty string.
Prints a Java Script statement which produces a for loop and a newline character to standard out.
The code fragment:
SaJavaStdFor("number");
will write:
for (var i=0; i<number; i++) {\n
to the output stream.
SaJavaB, SaJavaCommE, SaJavaE, SaJavaCommB, SaJavaRetTrue, SaJavaRetFalse, SaJavaPrint, SaJavaMsgBox, SaJavaIsLower, SaJavaIsUpper, SaJavaNotDigit, SaJavaLenNe, SaJavaLenZero
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.